package cz.zcu.fav.rat.managed.bean;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import cz.zcu.fav.rat.security.beans.UserSessionController;
import cz.zcu.fav.rat.security.service.RegisteredImplementors;

@ManagedBean(name = "editMyProfileBean")
@ViewScoped
public class EditMyProfileBean extends EditUserBean
{
	private static final long serialVersionUID = -6824205526102453266L;
	private String oldpasshash;

	@Override
	protected Integer getId()
	{
		return UserSessionController.getLoggedUserBean().getId();
	}

	public String getOldpasshash()
	{
		return oldpasshash;
	}

	public void setOldpasshash(String oldpasshash)
	{
		this.oldpasshash = oldpasshash;
	}
}
